import Home from '../views/Home'
import List from '../views/List'
import Cart from '../views/Cart'
import NotFound from '../views/NotFound'
import Detail from '../views/Detail'

import HighList from '../views/sub/HighList'
import HotList from '../views/sub/HotList'

export default [
	{
		path: '/',
		element: <Home />,
		children: [
			{
				index: true,
				element: <HotList />
			},
			{
				path: '/highList',
				element: <HighList />
			}
		]
	},
	{
		path: '/list',
		element: <List />
	},
	{
		path: '/cart',
		element: <Cart />
	},
	{
		path: '/detail/:id',
		element: <Detail />
	},
	{
		path: '*',
		element: <NotFound />
	}
]
